[gd_scene load_steps=4 format=3 uid="uid://cv4ise7h1t0n8"]

[ext_resource type="Script" path="res://src/UI/PauseScreen.gd" id="1_40vj7"]

[sub_resource type="CanvasTexture" id="CanvasTexture_b47ml"]

[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jkvfv"]

[node name="PauseScreen" type="Control"]
process_mode = 3
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_40vj7")

[node name="Background" type="Sprite2D" parent="."]
modulate = Color(0, 0.301961, 0.337255, 0.756863)
z_index = 1
position = Vector2(-223, -15.5)
scale = Vector2(3964, 2117)
texture = SubResource("CanvasTexture_b47ml")

[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
layout_mode = 2
theme_override_constants/separation = 15

[node name="Label" type="Label" parent="CenterContainer/VBoxContainer"]
z_index = 2
layout_mode = 2
theme_override_font_sizes/font_size = 50
text = "game paused"
horizontal_alignment = 1

[node name="HSeparator" type="HSeparator" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 10
theme_override_styles/separator = SubResource("StyleBoxEmpty_jkvfv")

[node name="ResumeButton" type="Button" parent="CenterContainer/VBoxContainer"]
z_index = 2
y_sort_enabled = true
layout_mode = 2
text = "resume"

[node name="RestartButton" type="Button" parent="CenterContainer/VBoxContainer"]
z_index = 2
y_sort_enabled = true
layout_mode = 2
text = "restart"

[node name="BackButton" type="Button" parent="CenterContainer/VBoxContainer"]
z_index = 2
y_sort_enabled = true
layout_mode = 2
text = "back to level selection"

[node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"]
z_index = 2
y_sort_enabled = true
layout_mode = 2
text = "back to main menu
"

[connection signal="pressed" from="CenterContainer/VBoxContainer/ResumeButton" to="." method="_on_resume_button_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/RestartButton" to="." method="_on_restart_button_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/BackButton" to="." method="_on_back_button_pressed"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]
